home *** CD-ROM | disk | FTP | other *** search
/ Network Support Library / RoseWare - Network Support Library.iso / print / rpload.exe / README next >
Text File  |  1991-07-24  |  2KB  |  56 lines

  1. INSTRUCTIONS FOR USING REMOTE.BAT
  2. ---------------------------------
  3.  
  4. Files included in this self-extracting zip file:
  5.  
  6.    README       (This file)
  7.    REMOTE.BAT   (Batch file for loading RPRINTER.EXE upon boot-up)
  8.    SLEEP.EXE    (Program that introduces a timed pause into a batch
  9.                  file -- used by REMOTE.BAT)
  10.  
  11. These programs are hereby dedicated to the public domain and may be
  12. used in any manner, so long as credit is given to the original author.
  13.  
  14. To make sure that RPRINTER is loaded whenever a workstation is booted,
  15. copy RPRINTER.EXE, REMOTE.BAT, and SLEEP.EXE into your network's
  16. LOGIN subdirectory.
  17.  
  18. Place the following command in the workstation's AUTOEXEC.BAT file,
  19. AFTER the default drive/directory has been set to the LOGIN sub-
  20. directory and BEFORE the LOGIN command has been issued:
  21.  
  22.       CALL REMOTE <pserver_name> <printer_no.>
  23.  
  24. If your DOS version is prior to 3.3, use the following command, instead:
  25.  
  26.       COMMAND /C REMOTE <pserver_name> <printer_no.>
  27.  
  28. Substitute your own network's, print server name in place of <pserver_
  29. name> and the remote printer number in place of <printer_no.>.
  30.  
  31. HOW IT WORKS
  32. ------------
  33.  
  34. REMOTE.BAT loads RPRINTER and checks the ERRORLEVEL returned.  If
  35. ERRORLEVEL is not 1, then RPRINTER has loaded successfully and the
  36. batch file returns to the calling program (autoexec.bat).
  37.  
  38. If ERRORLEVEL is set to 1, a 5-second pause is initiated by using the
  39. SLEEP program.  Then RPRINTER is unloaded with the -R option.  Another
  40. 5-second wait is introduced and we loop back to the beginning of the
  41. batch file to load RPRINTER, again.  This time, ERRORLEVEL SHOULD NOT
  42. BE = 1.
  43.  
  44. If this doesn't work, experiment with the SLEEP command by introducing
  45. longer delays.
  46.  
  47. SLEEP may be used in other batch files where a timed delay is desired.
  48. Type SLEEP ? to see the usage of the command.
  49.  
  50.  
  51. Submitted by:   David Truncale
  52.                 Circle Productions, Inc.
  53.                 CIS# 73770,3454
  54.  
  55.                 7/24/91
  56.